/*
 *  Copyright 2025 Collate.
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *  http://www.apache.org/licenses/LICENSE-2.0
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
@import (reference) '../../../../../../styles/variables.less';

.ingestion-status-count {
  .status-count {
    height: 48px;
    width: 62px;
    padding: 6px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;

    .record-count {
      font-size: 14px;
      line-height: 20px;
      font-weight: 700;
    }

    .record-label {
      font-size: 8px;
    }
  }

  .success {
    background-color: @green-9;
    border-color: @green-9;
    .ant-typography {
      color: @green-10;
    }
  }

  .failed {
    background-color: @red-9;
    border-color: @red-9;
    .ant-typography {
      color: @red-10;
    }
  }

  .warning {
    background-color: @yellow-10;
    border-color: @yellow-10;
    .ant-typography {
      color: @yellow-11;
    }
  }
}
